import jieba
if __name__ == '__main__':
    dela = '-;:，.()"<>'
    s = input("请输入一句话：")
    print("\n这句话是：{}".format(s))
    # 去除字符串中的的符号
    for i in dela:
        s = s.replace(i, '')
    words = jieba.lcut(s)
    print("替换之后的句子是：{}".format(s))
    print("这里面有{}个词语".format(len(words)))
